package com.btkjgc.service.intf;

import java.util.List;

import com.btkjgc.models.AdminUser;

/**
 * Created by _ESE on 2015/2/9.
 */
public interface AdminUserManageService_Intf
{

	public int getCount(AdminUser adminUser, String username, String entityname);

	public List<AdminUser> getRecord(AdminUser adminUser, Integer pageIndex,
			Integer pageSize, String username, String entityname,
			String sortfield);


	public Integer insertAdminUser(String addEntityId, String addUserName,
			String addPassword, String addEntityName, String addRole,
			String addSex, String addPhone, String addEmail);

	public void deleteById(Integer adminUserId);

	public void resetPWById(Integer adminUserId);

	public void changePWById(Integer adminUserId, String PW);

	public void changePWByName(String username, String PW);

	public void updateAdminUserRole(int adminUserId, String role);
}
